80f0d980e5900081e6937af346aa2b506c67753a,source/org/jasig/portal/ChannelManager.java,ChannelManager,instantiateChannel,#String#String#String#number#Hashtable#,390

Before Change


        IChannel ch=null;

        // check if the user has permissions to instantiate this channel
        IAuthorizationPrincipal ap = AuthorizationService.instance().newPrincipal(Integer.toString(this.pcs.getUserLayoutManager().getPerson().getID()), org.jasig.portal.security.IPerson.class);

        if(ap.canRender(Integer.parseInt(channelPublishId))) {
            

After Change


        IChannel ch=null;

        // check if the user has permissions to instantiate this channel
        if(ap==null) {
            ap = AuthorizationService.instance().newPrincipal(Integer.toString(this.pcs.getUserLayoutManager().getPerson().getID()), org.jasig.portal.security.IPerson.class);
        } 

        if(ap.canRender(Integer.parseInt(channelPublishId))) {